<?php
include_once('common/header.php');
$objOffline 	= new Offline();
$intLimit		= OFFLINE_LIMIT;
$intTotal		= 0;
$intPage		= $objRequest->getParam('page', 1);
$intOffset		= ($intPage-1)*$intLimit;
$arrResult		= $objOffline->getAll($AppUI->id,'',$intOffset,$intLimit,$intTotal);
$this->view->arrResult		= $arrResult;
$this->view->intTotalPage	= ceil($intTotal / $intLimit);
$this->view->intPage 		= $intPage;
?>